package test2;

import java.util.Scanner;


public class TestAssert {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();//货物长度
        int M = sc.nextInt();//数组的长度
        int sum = 0;
        int[] arr = new int[M];
        for (int i = 0; i < M; i++) {
            arr[i] = sc.nextInt();
        }
        //对坑道进行判断


    }
}
